package com.example.store2.Service.impl;


import com.example.store2.Mapper.OccupationMapper;
import com.example.store2.Service.OccupationService;
import com.example.store2.pojo.Occupation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class OccupationServiceimpl implements OccupationService {
    @Autowired
    OccupationMapper occupationMapper;

    @Override
    public List<Occupation> getoccname() {
        return occupationMapper.getoccname();
    }
}
